from django.contrib import admin  
from .models import MyNew

class NewsAdmin(admin.ModelAdmin):  
    list_display = ['title','description']
    search_fields = ('title','description')

admin.site.register(MyNew, NewsAdmin)


admin.site.site_header = '企业门户网站后台管理系统'
admin.site.site_title = '企业门户网站后台管理系统'